package com.hadwinling.article.service;

import com.hadwinling.article.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Package com.hadwinling.article.service
* @author HadwinLing
* @date 2020/10/8 17:05
* @version V1.0
*/
public interface ArticleService{
    List<Article> selectAllArticle();

    Integer selectViewcountById(Integer id);

    int updateViewcountById(Integer updatedViewcount,Integer id);

    int insertSelective(Article article);

    int deleteById(Integer id);

}
